<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ taglib prefix="rad" uri="http://amc.af.mil/radtaglibrary" %>

<html>
<head>
    <title>Manage DRAs</title>
</head>

<body>

<rad:useBean id="draViewHelper"/>

<div id="portal-left-bar">
    <jsp:include page="../../navigation/navigationMenu.jsp"/>
</div>

<div id="portal-content">
    <portal:box title="Manage DRAs" style="width: 800px">
        <portal:subSection title="Current DRAs">
            <display:table name="draViewHelper.all"
                           decorator="mil.af.amc.adpetracker.web.decorators.DraDecorator">
                <display:column property="name" title="DRA"/>
                <display:column property="assignedAccounts"
                                title="Total Accounts"
                                style="text-align:center"/>
                <display:column property="actions"/>
            </display:table>
            <a href="draAction.do?method=viewAddDra">Add DRA</a>
        </portal:subSection>

    </portal:box>
</div>
</body>
</html>